\hypertarget{_board_temperature_8c}{\section{Board\-Temperature.\-c File Reference}
\label{_board_temperature_8c}\index{Board\-Temperature.\-c@{Board\-Temperature.\-c}}
}


Source file for the board temperature monitoring system.  


{\ttfamily \#include \char`\"{}Board\-Temperature.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}A\-D\-S1256\-\_\-\-Driver.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}Analog\-Input\-\_\-\-Multiplexer.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}Tekdaqc\-\_\-\-B\-S\-P.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}Tekdaqc\-\_\-\-Debug.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}eeprom.\-h\char`\"{}}\\*
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{_board_temperature_8c_a076462ed55992bda909c0a8633888018}{L\-M35\-\_\-\-S\-L\-O\-P\-E}~100
\begin{DoxyCompactList}\small\item\em The slope of the voltage-\/temperature conversion function for the L\-M35 temperature sensor. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__board__temperature_ga836b49ee7ee49ad9e13dc50a80fa7a0a}{update\-Board\-Temperature} (\hyperlink{struct_analog___input__t}{Analog\-\_\-\-Input\-\_\-t} $\ast$input, int32\-\_\-t code)
\begin{DoxyCompactList}\small\item\em Updates the current board temperature reading. \end{DoxyCompactList}\item 
float \hyperlink{group__board__temperature_ga84f2a5a76c0781a00449e4e71a8db0bc}{get\-Board\-Temperature} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the current board temperature reading. \end{DoxyCompactList}\item 
float \hyperlink{group__board__temperature_gabd8a85a7dd96f5aa9826e7a0999f738c}{get\-Maximum\-Board\-Temperature} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the maximum temperature this board has been exposed to. \end{DoxyCompactList}\item 
float \hyperlink{group__board__temperature_ga2e1ba0973955b1358d76f0da459a36e2}{get\-Minimum\-Board\-Temperature} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the minimum temperature this board has been exposed to. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Contains methods for updating the board's temperature as well as reading current and historical temperatures.

\begin{DoxyAuthor}{Author}
Jared Woolston (\href{mailto:jwoolston@tenkiv.com}{\tt jwoolston@tenkiv.\-com}) 
\end{DoxyAuthor}
\begin{DoxySince}{Since}
v1.\-0.\-0.\-0 
\end{DoxySince}


Definition in file \hyperlink{_board_temperature_8c_source}{Board\-Temperature.\-c}.



\subsection{Macro Definition Documentation}
\hypertarget{_board_temperature_8c_a076462ed55992bda909c0a8633888018}{\index{Board\-Temperature.\-c@{Board\-Temperature.\-c}!L\-M35\-\_\-\-S\-L\-O\-P\-E@{L\-M35\-\_\-\-S\-L\-O\-P\-E}}
\index{L\-M35\-\_\-\-S\-L\-O\-P\-E@{L\-M35\-\_\-\-S\-L\-O\-P\-E}!BoardTemperature.c@{Board\-Temperature.\-c}}
\subsubsection[{L\-M35\-\_\-\-S\-L\-O\-P\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define L\-M35\-\_\-\-S\-L\-O\-P\-E~100}}\label{_board_temperature_8c_a076462ed55992bda909c0a8633888018}


Definition at line 44 of file Board\-Temperature.\-c.

